package com.example.demo.test.reflect;

/**
 * @auth
 **/
public class BaseDemo {
    public String name;
    public BaseDemo(){
        System.out.println("BaseDemo我被加载了");
        this.name = this.getClass().getName();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
